<%--
    Document   : Signup
    Created on : Mar 21, 2011, 10:14:43 PM
    Author     : MaramZahran
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">


<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="style/table.css" />
        <title>Display Profiles</title>
    </head>
    <body>
        <div id="main_container">
        <jsp:include page="Banner.html" />
        <jsp:include page="menuTab.jsp" />
        <jsp:include page="/AllCategory" />
        <div class="center_content">

   	<div class="center_title_bar">
           All Customers
       </div>

    	<div class="prod_box_big">
        	
            <div class="center_prod_box_big">

               <table>
           <thead>
            <tr>
                <th>Customer ID </th><th>Customer Name</th><th>Customer E_Mail</th><th>Customer credit</th><th>Customer Phone</th><th></th>
            </tr>
        </thead>
        <tbody>
      
        <c:forEach items="${allusers}" var="user" >
            <tr><td><c:out value="${user.customerId}" /></td><td><c:out value="${user.customerName}" /></td><td><c:out value="${user.customerEmail}" /></td><td><c:out value="${user.credit}" /></td><td><c:out value="${user.phoneNumber}" /></td><td><a href="DisplayAllUser?type=remove&ID=${user.customerId}">remove</a>|<a href="DisplayAllUser?type=details&ID=${user.customerId}">Details</a></td> </tr>
            </c:forEach>

        </tbody>
        </table>


            </div>
           
        </div>

   </div>
            
        <jsp:include page="Footer.html" />
        </div>
        
    </body>

   
</html>



     